package com.ruoyi.system.mapper;

import com.ruoyi.common.core.domain.DTO.ComboConfigVO;
import com.ruoyi.common.core.domain.entity.ComboConfig;
import com.ruoyi.common.core.domain.entity.UserPoints;
import com.ruoyi.common.core.domain.entity.UserPointsLog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 参数配置 数据层
 *
 * @author ruoyi
 */
@Mapper
@Repository
public interface ComboConfigMapper {
    //新增套餐
    int insertComboConfig(ComboConfig comboConfig);
    //修改套餐
    int updateComboConfig(ComboConfig comboConfig);
    //查询套餐列表
    List<ComboConfigVO> selectComboConfigList(ComboConfig comboConfig);
    //根据id查询套餐
    ComboConfigVO selectComboConfigById(Long id);
}
